<?php
$redis = new Redis();
$redis->connect("127.0.0.1", 6379);
//$redis->set("key", "valuetest");
//$value = $redis->get("key");


$redis->sadd("mytest", "test1");
$redis->sadd("mytest", "test2");

//echo $redis->sismember("mytest","test1");
echo $redis->sismember("mytest","test3");
